<?php 	
/*********** PATH CONSTANTS BEGIN***********************/
define('PATH_INCLUDE',constant('SITE_WEB_DISK_DIR').'/include');
define('PATH_DATATABLE',constant('SITE_WEB_DISK_DIR').'/include');
define('PATH_PERMISSION_CLASS',constant('SITE_WEB_DISK_DIR').'/include/permission');
define('PATH_TMP_DIR',constant('SITE_WEB_DISK_DIR').'/tmp');
define('PATH_ORDER_DIR','appdata/order');
define('PATH_ORDER_EDITING_DIR','appdata/tmp');
/*********** PATH CONSTANTS END***********************/

/******* constant values begin************/
define('MAX_USER_TRY_SIGNIN_TIMES',10);
define('WORKER_TYPE',serialize(array(
	1=>'門市部',
	2=>'客服部',
	3=>'製作部',
	4=>'攝影部',
	5=>'造型部'
)));
define('WEBSITE_DATE_FORMATE','Y/m/d');
define('WEBSITE_DATE_TIME_FORMATE','Y/m/d Ah:i');
/******* constant values end************/

/******* GLOBAL VALUE KEY BEGIN ************/
define('WEBSITE_CFG_BENZU_1','WEBSITE_CFG_BENZU_1');
define('WEBSITE_CFG_BENZU_2','WEBSITE_CFG_BENZU_2');
define('WEBSITE_CFG_BENZU_22','WEBSITE_CFG_BENZU_22');
define('WEBSITE_CFG_BENZU_3','WEBSITE_CFG_BENZU_3');
define('WEBSITE_CFG_BENZU_33','WEBSITE_CFG_BENZU_33');
define('SITE_TIME_OFFSET_HOURS','CFG_SITE_TIME_OFFSET_HOURS');
/********* GLOBAL VALUE KEY END ************/

/*******TABLE NAME CONSTANT STRINGS BEGIN*************/
define('DB_TABLE_KEY_VALUE','key_value');
define('DB_TABLE_USER','user');
define('DB_TABLE_BENZU_STYLE','benzu_style');
define('DB_TABLE_PHOTO_SIZE','photo_size');
define('DB_TABLE_PHOTO_FRAME','photo_frame');
define('DB_TABLE_PHOTO_FRAME_PRICE','photo_frame_price');
define('DB_TABLE_GIFT','gift');
define('DB_TABLE_WORKER','worker');
define('DB_TABLE_LOCATION','location');
define('DB_TABLE_CATALOG','catalog');
define('DB_TABLE_CATALOG_PHOTO_SIZE','catalog_photo_size');
define('DB_TABLE_CATALOG_PHOTO_SIZE_FRAME','catalog_photo_size_frame');
define('DB_TABLE_CATALOG_GIFT','catalog_gift');
define('DB_TABLE_ORDER_MANAGER','order_manager');
define('DB_TABLE_ORDER_INDEX_MAIN','order_index_main');
/*******TABLE NAME CONSTANT STRINGS END*************/

/********* SESSION NAME BEGIN ****************/
define('SESSION_KEY_HAS_LOGIN','l1');
define('SESSION_KEY_USER_ID','l2');
define('SESSION_KEY_USER_NAME','l3');
define('SESSION_KEY_USER_IS_ADMIN','u1');
define('SESSION_KEY_USER_IS_CSR','u2');
define('SESSION_KEY_USER_IS_PHOTO','u3');
define('SESSION_KEY_USER_IS_PRODUCT','u4');

define('SESSION_KEY_USER_SIGN_VALIDATE_CODE','v1');

define('SESSION_KEY_CURRENT_SELECTED_DATE','s1');
/********* SESSION NAME END ****************/

?>